<?php

class FP_Application_Subsystem_Session implements FP_Application_Subsystem_Interface {

    public static $session = null;

    protected $_config = null;

    public function init($pConfig=null){

	$this->_config = $pConfig;

	$session = new Zend_Session_Namespace('silk_cms___');

	$session->setExpirationSeconds($this->_config->lifetime);

	if (!FP_Application::HasIdentity())
	    $session->guest = true;
	else
	    $session->guest = false;


	self::$session = $session;

    }

}

?>